import UIKit

@available(iOS 11.0, tvOS 11.0, *)
extension QKC where AA :UIFocusEnvironment {
    @available(iOS 11.0, tvOS 11.0, *)
    public func contains_qk_f(_ environment: UIFocusEnvironment) -> QKC<AA,YY,ZZ,Bool>{
		 self +^ self.value.contains(environment)
	}

}

@available(iOS 11.0, tvOS 11.0, *)
extension QKC where AA :UIFocusItem {
    @available(iOS 11.0, tvOS 11.0, *)
    public func isFocused_qk_g() -> QKC<AA,YY,ZZ, Bool >{
		 self +^ self.value.isFocused
	}

}

@available(iOS 9.0, *)
extension QKC where AA :UIFocusUpdateContext {
	/// The item that was focused before the update, i.e. where focus is updating from. May be nil if no item was focused, such as when focus is initially set.
    @available(iOS 10.0, *)
     open func previouslyFocusedItem_qk_g() -> QKC<AA,YY,ZZ, UIFocusItem? >{
		 self +^ self.value.previouslyFocusedItem
	}

	/// The item that is focused after the update, i.e. where focus is updating to. May be nil if no item is being focused, meaning focus is being lost.
    @available(iOS 10.0, *)
     open func nextFocusedItem_qk_g() -> QKC<AA,YY,ZZ, UIFocusItem? >{
		 self +^ self.value.nextFocusedItem
	}

	/// NOTE: This property will be deprecated in a future release. Use previouslyFocusedItem instead.
     open func previouslyFocusedView_qk_g() -> QKC<AA,YY,ZZ, UIView? >{
		 self +^ self.value.previouslyFocusedView
	}

	/// NOTE: This property will be deprecated in a future release. Use nextFocusedItem instead.
     open func nextFocusedView_qk_g() -> QKC<AA,YY,ZZ, UIView? >{
		 self +^ self.value.nextFocusedView
	}

	/// The focus heading in which the update is occuring.
    open func focusHeading_qk_g() -> QKC<AA,YY,ZZ, UIFocusHeading >{
		 self +^ self.value.focusHeading
	}

}

